package com.qyhl.webtv.commonlib.service;

import com.alibaba.android.arouter.facade.template.IProvider;
import com.qyhl.webtv.basiclib.base.BaseFragment;
import com.qyhl.webtv.commonlib.utils.inter.HomeActivityInterface;

/**
 * 新闻向外暴露的接口服务
 * @author helin
 * @date  2019年6月4日11:07:50
 */
public interface NewsService extends IProvider {

    BaseFragment getProgramFragment(String menuId, String type);

    BaseFragment getProgramFragment(String menuId, String type,boolean hasNew);

    BaseFragment getTitleNewsFragment(String title, String url);

    BaseFragment getTitleNewsFragment(String title, String url, String id, boolean hasJS);

    BaseFragment getNewListFragment(String sectionId);

    BaseFragment getGoodLifeFragment();

    BaseFragment getTownListFragment(String title, String url);

    BaseFragment getGovernmentListFragment(String title, String url);

    BaseFragment getSpecialListFragment(String title, String url, boolean isBottom);

    BaseFragment getTown3ListFragment(String title, String url);

    BaseFragment getTown2ListMainFragment( String url);

    BaseFragment getJLNewsListFragment(int type);

    BaseFragment getJLMultiNewsFragment();

    BaseFragment getLuckDrawHomeFragment(String s, String menuName, HomeActivityInterface homeActivityInterface);

    BaseFragment getSDColumnFragment(String sectionId, int type);

    BaseFragment getNanBuNewListFragment(String sectionId, int type);
}
